package com.study.task;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class MoveTool {

    private static final Map<String, UploadFile> cache = new ConcurrentHashMap();

    public static void main(String[] args) {
        int count = 10000;
        for (int i = 0; i < count; i++) {
            UploadFile uploadFile = new UploadFile();
            String s = Integer.toString(i);
            uploadFile.setTaskId(s);
            cache.putIfAbsent(s, uploadFile);

//            baseFileInfoQuery();
        }

        assert cache.size() == count;

        System.out.println("先准备内容数据");


    }

}
